package camid.util.testobjects;

import java.util.Random;

public class DelayUtil {

	public static Long gaussianDelay(Long delay)
	{
		Random rd = new Random();
		Double meanDelay = delay.doubleValue();
		Double stddev = meanDelay/4;
		Double delayGaussian = rd.nextGaussian()*stddev + meanDelay;
		return delayGaussian.longValue();
	}
	
}
